using System.Text.Json.Serialization;

namespace UniversalAdminSystem.Infrastructure.Configs;

public class RabbitMqConfig
{
    [property: JsonPropertyName("Host")]
    public string Host { get; set; } = string.Empty;

    [property: JsonPropertyName("Port")]
    public int Port { get; set; }

    [property: JsonPropertyName("Username")]
    public string Username { get; set; } = string.Empty;

    [property: JsonPropertyName("Password")]
    public string Password { get; set; } = string.Empty;

    [property: JsonPropertyName("Exchange")]
    public string Exchange { get; set; } = string.Empty;

    [property: JsonPropertyName("Queue")]
    public string Queue { get; set; } = string.Empty;

    [property: JsonPropertyName("RoutingKey")]
    public string RoutingKey { get; set; } = string.Empty;
}